package com.vishnu.core.innerclasspractice;

public class Outer3 {

	int x=12;
	static int y=45;
	public class Inner{
		int x=23;
		final static int y=54;
		public void m1(){
			System.out.println("x="+x);
			System.out.println("y="+y);
			System.out.println("x="+this.x);
			System.out.println("y="+this.y);
			System.out.println("x="+Outer3.this.x);
			System.out.println("y="+Outer3.this.y);			
		}
	}
	
	public static void main(String[] args) {
		Inner i=new Outer3().new Inner();
		
		i.m1();
		
	}
}

